﻿
using System.Text;

namespace RbmlVisualizer.Data.Blocks
{
    public class ClassifierAttribute : IMultiplicity
    {
        public string Name { get; set; }
        public string AttributeType { get; set; }
        public MemberModifier Modifier { get; set; }
        public Multiplicity Multiplicity { get; set; }


        public override string ToString()
        {
            var builder = new StringBuilder();
            builder.Append(AttributeType);
            builder.Append(" ");
            builder.Append(Name);
            builder.Append(" ");
            builder.Append(Multiplicity);
            return builder.ToString();
        }
    }
}
